jade.mtp
Interface OutChannel

All Known Subinterfaces:
MTP

public interface OutChannel

This interface is the sender's view of an MTP.


Method Summary
 void deliver(java.lang.String addr, Envelope env, byte[] payload)
          Delivers to the specified address an ACL message, encoded in some concrete message representation, using the given envelope as a transmission header.
 

Method Detail

deliver

public void deliver(java.lang.String addr,
                    Envelope env,
                    byte[] payload)
             throws MTPException
Delivers to the specified address an ACL message, encoded in some concrete message representation, using the given envelope as a transmission header.
Parameters:
ta - The transport address to deliver the message to. It must be a valid address for this MTP.
env - The message envelope, containing various fields related to message recipients, encoding, and timestamping.
Throws:
MTPException - Thrown if some MTP delivery error occurs.